package com.xyh.student.entity;

import java.util.Date;
import java.util.List;

public class Banji {
    private int cid;
    private String name;
    private String image;
    private String brief;
    private String manager;
    private Date time;
    private List<Student> students;

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "Banji{" +
                "cid=" + cid +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", brief='" + brief + '\'' +
                ", manager='" + manager + '\'' +
                ", time=" + time +
                ", students=" + students +
                '}';
    }
}
